package com.wwmz.decorator.pattern.battercake.v1;

/**
 * Created by wumz on 2020/9/19 21:20
 */
public class BattercakeWithEgg extends Battercake {
    protected String getMsg(){ return super.getMsg() + "+1个鸡蛋";}

    public int getPrice(){ return super.getPrice() + 1;}
}
